package com.path.planning.util.path.entity;

public class WaterwayData extends PathTopologyData {
    /**
     * 主键ID
     */
    private Integer id;
    /**
     * 几何对象
     */
    private String geom;
    /**
     * 名称
     */
    private String name;
    /**
     * 起点ID
     */
    private Integer source;
    /**
     * 终点ID
     */
    private Integer target;
    /**
     * 正向成本
     */
    private Double cost;
    /**
     * 逆向成本
     */
    private Double reverseCost;
    /**
     * 限速
     */
    private Double speed;
    /**
     * 宽度
     */
    private Double width;
    /**
     * 深度
     */
    private Double depth;
    /**
     * 长度
     */
    private Double length;

    @Override
    public Integer getId() {
        return this.id;
    }

    @Override
    public String getGeom() {
        return this.geom;
    }

    @Override
    public Integer getSource() {
        return this.source;
    }

    @Override
    public Integer getTarget() {
        return this.target;
    }

    @Override
    public Double getCost() {
        return this.cost;
    }

    @Override
    public Double getReverseCost() {
        return this.reverseCost;
    }

    @Override
    public Double getSpeed() {
        return this.speed;
    }

    @Override
    public Double getHeightLimit() {
        return null;
    }

    @Override
    public Double getWidthLimit() {
        return this.width;
    }

    @Override
    public Double getWeightLimit() {
        return null;
    }

    @Override
    public Double getDepthLimit() {
        return this.depth;
    }

    @Override
    public Double getPenalty() {
        return null;
    }

    @Override
    public Double getLength() {
        return this.length;
    }

    @Override
    public String getPathName() {
        return this.name;
    }

    public void setLength(Double length) {
        this.length = length;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public void setGeom(String geom) {
        this.geom = geom;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setSource(Integer source) {
        this.source = source;
    }

    public void setTarget(Integer target) {
        this.target = target;
    }

    public void setCost(Double cost) {
        this.cost = cost;
    }

    public void setReverseCost(Double reverseCost) {
        this.reverseCost = reverseCost;
    }

    public void setSpeed(Double speed) {
        this.speed = speed;
    }

    public Double getWidth() {
        return width;
    }

    public void setWidth(Double width) {
        this.width = width;
    }

    public Double getDepth() {
        return depth;
    }

    public void setDepth(Double depth) {
        this.depth = depth;
    }

}
